<style>
#load{
    width:100%;
    height:100%;
    position:fixed;
    z-index:9999;
    background:url("images/loading_bar.gif") no-repeat center center #fff;
}
</style>
<script>
document.onreadystatechange = function () {
  var state = document.readyState
  if (state == 'interactive') {
       document.getElementById('contents').style.visibility="hidden";
  } else if (state == 'complete') {
      setTimeout(function(){
		 if(typeof sessionStorage["user_id"]=='undefined'){
			 document.getElementById('interactive');
			 document.getElementById('load').style.visibility="hidden";
			 document.getElementById('contents').style.visibility="visible";
		 }else{
			var pageUrl = JSON.parse(sessionStorage["pageUrl"]);
			window.location=pageUrl;
		 }
      },300);
  }
}
</script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/webserviceurl.js"></script>
<script src="js/validations.js"></script>
<script src="js/commonfunctions.js"></script>
<script src="js/text.js"></script>
<link href="css/style.css" rel="stylesheet">
<link href="css/default.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">
<script>
$(window).load(function() {
$('#header').load('header.html');
$('#footer').load('footer.html');
});
</script>
<div id="load"></div>
<div id="contents">
  <div id="header"></div>
	<div class="container-fluid">
		<div class="row-fluid container_bg">
		<div class="container_plr">
			<div class="container_title">
				<div><h1>Forgot Your Password?</h1></div>
				<p class="mar_top">Enter the e-mail address associated with your account. Click submit to have your password e-mailed to you.</p>
				<div class="row mar_top">
				<div class="span12 brg">
				<div class="h2_title_bg"><h2>Your E-Mail Address</h2></div>
				<form class="form-horizontal mar_top">
					<div class="control-group">
						<label class="control-label" for="inputUser">E-Mail ID:</label>
						<div class="controls">
						<input type="text" class="span20" id="inputuser" name="inputuser" placeholder="Please Enter Email ID"><span id="forgetMailError" style="color:red"></span>
						</div>
					</div><br/>
					<div class="control-group">
						<div class="controls">
						<a href="index.html"><button type="button" class="medicart_btn_back">BACK TO LOGIN</button></a>
						<button type="button" class="medicart_btn" style="margin-left:30px;"onclick="forgetForm()">CONTINUE</button><span id="forgetReload"></span>
						</div>
					</div>
					<center><span id="successfpassword" name="successfpassword" style="color:red"></span></center>
				</form>
				</div>
				</div>
			</div>
			</div>
		</div>
	</div>
	<div id="footer"></div>
</div>
<script>
$('#inputuser').keypress(function(e){
	if( e.keyCode == 13 ){
		forgetForm();	
	}
});
</script>